import request from '@/utils/request'

//提交审核
export function submitTemp(data) {
  console.log(data)
  return request({
    url: '/wechat/examine/submitAudit',
    method: 'post',
    data: data
  })
}

//查询审核列表
export function listExamine(query) {
  return request({
    url: '/wechat/examine/list',
    method: 'get',
    params: query
  })
}

//获取体验码
export function testQrcode(query) {
  return request({
    url: '/wechat/examine/getTestQrcode',
    method: 'get',
    params: query
  })
}

//发布已通过审核的小程序
export function releaes(query) {
  return request({
    url: '/wechat/examine/releaesAudited',
    method: 'post',
    params: query
  })
}
